package com.huawang.ecolink.apps;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Tong hl
 */
@SpringBootApplication(scanBasePackages =
        "com.huawang.ecolink.apps")
@MapperScan(basePackages = {"com.huawang.mof.persistence.dao.mapper"})
@ComponentScan(value = "com.huawang")
@EnableCaching
@Slf4j
public class MLinkApp {
    public static void main(String[] args) {
        SpringApplication.run(MLinkApp.class, args);
    }
}

